package com.ctgu.computer.service;

import com.ctgu.computer.domain.dto.TopicAddDTO;
import com.ctgu.computer.domain.dto.TopicPageDTO;
import com.ctgu.computer.domain.po.ChannelInfo;
import com.ctgu.computer.domain.result.PageResult;
import com.ctgu.computer.domain.vo.ImagePaths;
import com.ctgu.computer.domain.vo.TopicVO;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface TopicService {
    PageResult page(TopicPageDTO topicPageDTO);

    void addTopic(TopicAddDTO topicAddDTO);

    void addChannel(String channelName);

    void deleteText(Integer textId);

    List<ChannelInfo> getAllChannel();

    TopicVO getById(Integer textId);

    void good(Integer textId);

    ImagePaths addImages(MultipartFile[] files);
}
